﻿capital = 3

oob = "HOL_1936"
set_naval_oob = "HOL_1936_naval_legacy"
if = {
	limit = { has_dlc = "By Blood Alone" }
		set_air_oob = "HOL_1936_air_bba"
		set_technology = {
			aa_lmg = 1
			engines_1 = 1
			aircraft_construction = 1
			iw_small_airframe = 1
			iw_medium_airframe = 1
			early_bombs = 1
		}
	else = {
		set_air_oob = "HOL_1936_air_legacy"
		set_technology = {
			early_fighter = 1
			early_bomber = 1
			CAS1 = 1
		}
	}
}

set_research_slots = 3


set_technology = {
	infantry_weapons = 1
	infantry_weapons1 = 1
	tech_support = 1		
	tech_recon = 1
	tech_engineers = 1
	gw_artillery = 1
	tech_trucks = 1	
	fuel_silos = 1
	basic_train = 1
#	bicycle_infantry = 1
}

if = {
	limit = {
		NOT = { has_dlc = "No Step Back" }
	}
	set_technology = {
		gwtank = 1
		basic_light_tank = 1
		improved_light_tank = 1
	}
}
if = {
	limit = {
		has_dlc = "No Step Back"
	}
	set_technology = {
		gwtank_chassis = 1
		basic_light_tank_chassis = 1
		improved_light_tank_chassis = 1
		engine_tech_1 = 1
	}
}

if = {
	limit = {
		has_dlc = "Man the Guns"
	}
	set_technology = {
		basic_naval_mines = 1
		submarine_mine_laying = 1
		basic_torpedo = 1
		basic_battery = 1
		basic_light_battery = 1
		basic_heavy_battery = 1
		basic_medium_battery = 1
		improved_ship_torpedo_launcher = 1
		early_ship_hull_submarine = 1
		basic_ship_hull_submarine = 1
		early_ship_hull_light = 1
		early_ship_hull_cruiser = 1
		basic_ship_hull_cruiser = 1
		early_ship_hull_heavy = 1
		basic_ship_hull_heavy = 1
		early_ship_hull_carrier = 1
		basic_ship_hull_carrier = 1
		mtg_transport = 1
		coastal_defense_ships = 1
		basic_secondary_battery = 1
		basic_depth_charges = 1
		basic_cruiser_armor_scheme = 1
		cruiser_submarines = 1
	}
}
if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	set_technology = {
		early_submarine = 1
		basic_submarine = 1
		early_destroyer = 1
		basic_destroyer = 1
		early_light_cruiser = 1
		basic_light_cruiser = 1
		early_heavy_cruiser = 1
		basic_heavy_cruiser = 1
		early_battleship = 1
		basic_battleship = 1
		early_battlecruiser = 1
		transport = 1

	}
}

add_ideas = {
	limited_conscription
	stiff_upper_lip
	LAN_bad_navy
	faith_of_7
	andal
	non_believers
}

recruit_character = LAN_tywin_lannister
recruit_character = LAN_tyrion_lannister
recruit_character = LAN_jaime_lannister
recruit_character = LAN_kevan_lannister
recruit_character = LAN_mountain
recruit_character = LAN_stafford_lannister
recruit_character = LAN_amarbrand
recruit_character = LAN_myrcella
recruit_character = LAN_alfred_saalwachter
recruit_character = LAN_erich_bey
recruit_character = LAN_gunther_lutjens
recruit_character = LAN_viktor_schutze

1939.1.1 = {
	add_ideas = {
	limited_conscription
	stiff_upper_lip
	}

	add_political_power = 1198
	
	#generic focuses
	complete_national_focus = LAN_denounce_starks
	complete_national_focus = LAN_poisoning_king
	complete_national_focus = LAN_hear_me_roar
	complete_national_focus = LAN_claim_dominance
	complete_national_focus = LAN_war_with_tully
	complete_national_focus = LAN_support_freys
	complete_national_focus = LAN_royal_marriage_with_tyrell
	complete_national_focus = LAN_royal_marriage_with_martell
	complete_national_focus = LAN_ally_tyrells
	
	oob = "HOL_1939"
	set_technology = {
		gw_artillery = 1
		tech_engineers = 1
		motorised_infantry = 1
		fighter1 = 1
		tactical_bomber1 = 1
		naval_bomber1 = 1
		interwar_artillery = 1
		interwar_antitank = 1
		interwar_antiair = 1
		infantry_weapons2 = 1
		support_weapons = 1
		basic_submarine = 1
		improved_light_cruiser = 1

		#doctrines
		air_superiority = 1
		grand_battle_plan = 1
		trench_warfare = 1
		fleet_in_being = 1
		battlefleet_concentration = 1
		convoy_sailing = 1

		#electronics
		electronic_mechanical_engineering = 1
		radio = 1
		radio_detection = 1
		mechanical_computing = 1
		computing_machine = 1

		#industry
		basic_machine_tools = 1
		improved_machine_tools = 1
		advanced_machine_tools = 1
		synth_oil_experiments = 1
#		oil_plant = 1
#		improved_oil_plant = 1
		construction1 = 1
		construction2 = 1
		construction3 = 1
		concentrated_industry = 1
		concentrated_industry2 = 1
		concentrated_industry3 = 1
	}

create_faction = "Lannister-Tyrell Alliance"
add_to_faction = HOL
add_to_faction = ENG
add_to_faction = IRE

}

set_popularities = {
	democratic = 10
	fascism = 85
	communism = 5
	neutrality = 0
}

set_politics = {	
	ruling_party = fascism
	last_election = "1933.4.26"
	election_frequency = 48
	elections_allowed = no
}

set_convoys = 500

create_country_leader = {
	name = "Tyrion Lannister"
	desc = "POLITICS_DIRK_JAN_DE_GEER_DESC"
	picture = "Portrait_Tyrion_Lannister.dds"
	expire = "1965.1.1"
	ideology = conservatism
	traits = {
		silent_workhorse
	}
}

#create_country_leader = {
#	name = "Tywin Lannister"
#	desc = "POLITICS_LORD_TYWIN_DESC"
#	picture = "Portrait_Tywin_2.dds"
#	expire = "1965.1.1"
#	ideology = fascism_ideology
#	traits = {
#		dictator
#	}
#}

create_country_leader = {
	name = "Lancel Lannister"
	desc = "POLITICS_LOU_DE_VISSER_DESC"
	picture = "gfx/leaders/Europe/Portrait_Europe_Generic_land_1.dds"
	expire = "1965.1.1"
	ideology = leninism
	traits = {
		#
	}
}

#create_country_leader = {
#	name = "Kevan Lannister"
#	desc = "POLITICS_HENDRIKUS_COLJIN_DESC"
#	picture = "Portrait_Kevan_Lannister.dds"
#	expire = "1965.1.1"
#	ideology = centrism
#	traits = {
		#
#	}
#}

#create_field_marshal = {
#	name = "Tywin Lannister"
#	picture = "Portrait_Tywin_2.dds"
#	id = 2019
#	traits = { offensive_doctrine }
#	skill = 4
#	attack_skill = 3
#	defense_skill = 1
#	planning_skill = 4
#	logistics_skill = 3
#}

#create_field_marshal = {
#	name = "Kevan Lannister"
#	picture = "Portrait_Kevan_Lannister.dds"
#	id = 2026
#	traits = { politically_connected old_guard }
#	skill = 4
#	attack_skill = 1
#	defense_skill = 2
#	planning_skill = 4
#	logistics_skill = 3
#}

#create_corps_commander = {
#	name = "Jaime Lannister"
#	picture = "Portrait_Jaime_Lannister.dds"
#	portrait_path = "gfx/leaders/Europe/Portrait_Europe_Generic_land_1.dds"
#	id = 2020
#	traits = { ranger media_personality }
#	skill = 4
#	attack_skill = 4
#	defense_skill = 3
#	planning_skill = 1
#	logistics_skill = 4
#}

#create_corps_commander = {
#	name = "Tyrion Lannister"
#	picture = "Portrait_Tyrion_Lannister.dds"
#	id = 2021
#	traits = { hill_fighter }
#	skill = 2
#	attack_skill = 1
#	defense_skill = 3
#	planning_skill = 3
#	logistics_skill = 2
#}

#create_corps_commander = {
#	name = "Gregor Clegane"
#	picture = "Portrait_Gregor_Clegane.dds"
#	id = 2027
#	traits = { hill_fighter fortress_buster }
#	skill = 4
#	attack_skill = 4
#	defense_skill = 2
#	planning_skill = 1
#	logistics_skill = 3
#}

create_corps_commander = {
	name = "Amory Lorch"
	picture = "Portrait_Amery_Lorch.dds"
	id = 2029
	traits = { trait_reckless }
	skill = 3
	attack_skill = 3
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 2
}

#create_corps_commander = {
#	name = "Addam Marbrand"
#	picture = "Portrait_Adam_Marband.dds"
#	id = 2024
#	traits = { trickster infantry_officer }
#	skill = 3
#	attack_skill = 3
#	defense_skill = 2
#	planning_skill = 2
#	logistics_skill = 2
#}

create_corps_commander = {
	name = "Harys Swyft"
	picture = "Portrait_Harys_Swyft.dds"
#	id = 2024
	traits = { old_guard }
	skill = 2
	attack_skill = 1
	defense_skill = 3
	planning_skill = 3
	logistics_skill = 2
}

create_corps_commander = {
	name = "Leo Lefford"
	portrait_path = "gfx/leaders/Europe/Portrait_Europe_Generic_land_2.dds"
	id = 2022
	skill = 2
}

create_corps_commander = {
	name = "Damon Marbrand"
	portrait_path = "gfx/leaders/Europe/Portrait_Europe_Generic_land_5.dds"
	
	id = 2023
#	traits = { trickster }
	skill = 1
}

if = {
	limit = { has_dlc = "La Resistance" }
	create_operative_leader = {
		name = "Shae"
#		portrait_path = "gfx/leaders/HOL/Portrait_Shae.dds"
		GFX = GFX_shae
#		traits = { operative_infiltrator }
		traits = { operative_seducer }
		bypass_recruitment = no
		available_to_spy_master = yes
		female = yes
		nationalities = { LIT }
	}
}

if = {
	limit = {
		has_dlc = "No Step Back"
	}
	create_equipment_variant = {
		name = "Armored Horse"
		type = light_tank_chassis_0
		parent_version = 0
		modules = {
			main_armament_slot = tank_small_cannon
			turret_type_slot = tank_light_two_man_tank_turret
			suspension_type_slot = tank_christie_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = tank_radio_1
		}
		upgrades = {
			tank_nsb_engine_upgrade = 2
			tank_nsb_armor_upgrade = 2
		}
		obsolete = yes
		icon = "GFX_gwtank_medium"
	}
	create_equipment_variant = {
		name = "Smilodont mk.I"
		type = light_tank_chassis_1
		parent_version = 0
		modules = {
			main_armament_slot = tank_heavy_machine_gun
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_christie_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = tank_radio_1
		}
		upgrades = {
			tank_nsb_engine_upgrade = 5
			tank_nsb_armor_upgrade = 1
		}
		icon = "GFX_GER_basic_light_tank_medium"
	}
}

### Ship Variants ###

create_equipment_variant = {
	name = "K-XIV Class"
	type = submarine_1
	upgrades = {
		ship_reliability_upgrade = 2
		sub_engine_upgrade = 2
		sub_stealth_upgrade = 2
		sub_torpedo_upgrade = 2
	}
}

### VARIANTS ###
# 1936 Start #
if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	### Ship Variants ###
	create_equipment_variant = {
		name = "K-XIV Class"
		type = submarine_1
		upgrades = {
			ship_reliability_upgrade = 2
			sub_engine_upgrade = 2
			sub_stealth_upgrade = 2
			sub_torpedo_upgrade = 2
		}
	}
}
if = {
	limit = { has_dlc = "Man the Guns" }
	# Submarines #
	create_equipment_variant = {			# represents K II-X, O8 subs
		name = "K-III Class"
		type = ship_hull_submarine_1
		name_group = HOL_SS_KCLASS
		parent_version = 0
		modules = {
			fixed_ship_torpedo_slot = ship_torpedo_sub_1
			fixed_ship_engine_slot = sub_ship_engine_1
			rear_1_custom_slot = empty
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "K-XIV Class"				# represents K XIV-XVIII, O16 subs
		type = ship_hull_submarine_2
		name_group = HOL_SS_KCLASS
		parent_version = 0
		modules = {
			fixed_ship_torpedo_slot = ship_torpedo_sub_2
			fixed_ship_engine_slot = sub_ship_engine_2
			rear_1_custom_slot = ship_torpedo_sub_2
		}
	}
}